# Register your models here.
from django.contrib import admin
from .models import Book

# Register your models here.



class BookAdmin(admin.ModelAdmin):
    # 设置显示数据库中哪些字段
    list_display = ['id', 'plat', 'name', 'store', 'branch', 'carry', 'creator', 'create_date', 'operate']


admin.site.register(Book,BookAdmin)